package com.wxservice.service;


import com.wxservice.domain.request.MessageREQ;
import com.wxservice.domain.request.MessageStatusREQ;
import com.wxservice.domain.request.SentTemplate;
import com.wxservice.domain.request.Template;

public interface TemplateAndMessageService {

    String listTemplate(String accessToken);

    String deleteTemplate(Template template);

    String sentTemplateToOne(SentTemplate sentTemplate);

    String sentTemplateToMany(SentTemplate sentTemplates);

    /**
     * @param messageREQ
     * @return
     * @Note:通过Tag消息群发，整体
     * @Author:HaoZhao
     * @Date:2018/11/7 16:25
     */
    String sentMessageByTag(MessageREQ messageREQ);


    /**
     * @param messageREQ
     * @return
     * @Note:通过OpenID消息群发，整体
     * @Author:HaoZhao
     * @Date:2018/11/7 16:25
     */
    String sentMessageByOpenID(MessageREQ messageREQ);


    /**
     * @param messageStatusREQ
     * @return
     * @Note:通过OpenID消息群发，整体
     * @Author:HaoZhao
     * @Date:2018-11-7 16:56:35
     */
    String getMessageStatus(MessageStatusREQ messageStatusREQ);
}
